<template>
  <div class="mallBanner">
    <iframe class="mallBanner-main" :src="state.src" frameborder="0"></iframe>
  </div>
</template>
<script>
import { getItem } from "@/utils/storage";
import { defineComponent, reactive } from "vue";

export default defineComponent({
  setup () {
    const state = reactive({
      src: 'https://console.mall.yunshuyuankeji.com/#/swiper?token=' + localStorage.getItem('User-Token')
    })
    return {
      state
    }
  }
})
</script>
<style lang="scss" scoped>
.mallBanner{
  width: 100%;
  height: 100%;
}
.mallBanner-main{
  width: 100%;
  height: 100%;
}
</style>